#pragma once

//#include <vld.h>
#include "templatevector.h"
#include <stdio.h>
#include <Windows.h>
//? Credits to robertvarga @ stackOverflow.com

class FileGetter{ 
private:
	void ToLower(char* a_in, char* a_out);
public:
	~FileGetter();

	void release(){}

	//Returns the parsed folder w/o sorting
	void parseFolder(TemplateVector<char *> & a_folder, char* folder = "*",char* a_type = "*", bool addFolderPath = false);

	//Returns the parsed folder sorted
	TemplateVector<char *> sortFolder(TemplateVector<char *> & a_folder, char* folder = "*",char* a_type = "*", bool addFolderPath = false);

};